/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.util.Date;
import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shResidence
 * 
 * @author KongXiangyu
 * @since 2015-09-07
 */
public class ShResidence extends BaseDomain {
	private static final long serialVersionUID = 1L;
	private Long propertyId;
	private String name;
	private String code;
	private String remark;
	private String address;
	private Date gmtCreate;
	private Date gmtModify;
	private Long active;
	private Long areaId; // 区县id
	private String propertyAddr; //物业办公地点
	private String propertyPhone;//物业联系电话
	private String propertyWorktDate; //物业上班时间
	 
	

	// 附加属性
	private String propertyName; // 物业公司

	private String areaName; // 区域名字 省 市 县（区）

	// 资源角色根
	private ShUserRole userRole;

	// 物业费用
	private ShResidenceFee residenceFee;

	private Date startGmtCreate;
	private Date endGmtCreate;
	private Date startGmtModify;
	private Date endGmtModify;

	private Long proviceId; // 省会id
	private Long cityId; // 城市ID

	public Date getStartGmtModify() {
		return startGmtModify;
	}

	public void setStartGmtModify(Date startGmtModify) {
		this.startGmtModify = startGmtModify;
	}

	public ShResidence() {
		// 默认无参构造方法
	}

	/**
	 * 获取 propertyId
	 * 
	 * @return
	 */
	public Long getPropertyId() {
		return propertyId;
	}

	/**
	 * 设置 propertyId
	 * 
	 * @param propertyId
	 */
	public void setPropertyId(Long propertyId) {
		this.propertyId = propertyId;
	}

	/**
	 * 获取 name
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置 name
	 * 
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取 address
	 * 
	 * @return
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置 address
	 * 
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取 gmtCreate
	 * 
	 * @return
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * 设置 gmtCreate
	 * 
	 * @param gmtCreate
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取 gmtModify
	 * 
	 * @return
	 */
	public Date getGmtModify() {
		return gmtModify;
	}

	public Date getStartGmtCreate() {
		return startGmtCreate;
	}

	public void setStartGmtCreate(Date startGmtCreate) {
		this.startGmtCreate = startGmtCreate;
	}

	public Date getEndGmtCreate() {
		return endGmtCreate;
	}

	public void setEndGmtCreate(Date endGmtCreate) {
		this.endGmtCreate = endGmtCreate;
	}

	public Date getEndGmtModify() {
		return endGmtModify;
	}

	public void setEndGmtModify(Date endGmtModify) {
		this.endGmtModify = endGmtModify;
	}

	/**
	 * 设置 gmtModify
	 * 
	 * @param gmtModify
	 */
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public ShUserRole getUserRole() {
		return userRole;
	}

	public void setUserRole(ShUserRole userRole) {
		this.userRole = userRole;
	}

	public ShResidenceFee getResidenceFee() {
		return residenceFee;
	}

	public void setResidenceFee(ShResidenceFee residenceFee) {
		this.residenceFee = residenceFee;
	}

	public Long getActive() {
		return active;
	}

	public void setActive(Long active) {
		this.active = active;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Long getProviceId() {
		return proviceId;
	}

	public void setProviceId(Long proviceId) {
		this.proviceId = proviceId;
	}

	public Long getCityId() {
		return cityId;
	}

	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}

	public String getPropertyAddr() {
		return propertyAddr;
	}

	public void setPropertyAddr(String propertyAddr) {
		this.propertyAddr = propertyAddr;
	}

	public String getPropertyPhone() {
		return propertyPhone;
	}

	public void setPropertyPhone(String propertyPhone) {
		this.propertyPhone = propertyPhone;
	}

	public String getPropertyWorktDate() {
		return propertyWorktDate;
	}
	public void setPropertyWorktDate(String propertyWorktDate) {
		this.propertyWorktDate = propertyWorktDate;
	}
}
